<?php
$ArDepartaments = Dracosys::getSessionValue(SESSION_INTERFACE, 'DepartamentList');
?>
<h2>Cadastrar Setor</h2>
<section id="CreateSector">
    <form method="post" action="Setor/inserir" name="FormCriarSetor">
        <section id="CreateSector_Dados" class="section-update">
            <div class="out_txt big"><label for="CreateSector_IDDepartamento">Departamento</label></div>
            <div class="inp_txt big">
                <select name="IDDepartamento" id="CreateSector_IDDepartamento">
                    <?php foreach($ArDepartaments as $Departament): ?>
                        <option value="<?=$Departament->getIDDepartamento()?>"><?=$Departament->getStNome()?></option>
                    <?php endforeach; ?>
                </select>
            </div>
            <div class="out_txt big"><label for="CreateSector_StSetor">Nome do Setor</label></div>
            <div class="inp_txt big"><input type="text" name="StSetor" id="CreateSector_StSetor" value="" /></div>
        </section>
        <div class="btn"><button class="v1">Cadastrar</button></div>
    </form>
</section>